package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Qiang2 {
    public static void main(String[] args) {
        //强转，取整
        double a=3.6,b=4.7;
        //int c=(int)a+(int)b;
        int c=(int)(a+b);
        System.out.println(c);
    }
}
